
/*package br.pacote.persistencia;

import com.mysql.jdbc.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

/* Esse DAO (Data Access Object) configura a conexão ao banco de dados 
 * atribuindo url, usuario, senha e o driver utilizado.
 *
 * @author Christiano
 *//*
public class ConexaoDAO 
{
    private String url ="jdbc:mysql://localhost:3306/siga";
    private String usuario ="root";
    private String senha ="root";
    private String driver ="com.mysql.jdbc.Driver";
    
    public Connection Conexao() throws ClassNotFoundException, SQLException
    {
        Class.forName(driver);
        
        return (Connection) DriverManager.getConnection(url,usuario,senha);
    }     
}*/
